package com.example.tms.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
@Data
@TableName("employee_department")
public class EmployeeDepartment {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("emp_id")
    private Integer empId;
    @TableField("dep_id")
    private Integer depId;
    @TableField("position")
    private String position;
    @TableField("superior_id")
    private Integer superiorId;
    @TableField("creator_id")
    private Integer creatorId;
    @TableField("state")
    private String state;
    @TableField("approver_id")
    private Integer approverId;
    @TableField("is_current")
    private Integer isCurrent;
    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;
    @TableField("created_at")
    private String createdAt;
    @TableField("updated_at")
    private String updatedAt;
    @TableField("description")   // 描述
    private String description;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmpId() {
        return empId;
    }
    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Integer getDepId() {
        return depId;
    }
    public void setDepId(Integer depId) {
        this.depId = depId;
    }

    public String getPosition() {
        return position;
    }
    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getSuperiorId() {
        return superiorId;
    }
    public void setSuperiorId(Integer superiorId) {
        this.superiorId = superiorId;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }
    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getCreatedAt() {
        return createdAt;
    }
    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }
    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Integer getCreatorId() {
        return creatorId;
    }
    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public String getState() {
        return state;
    }
    public void setState(String state) {
        this.state = state;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
}
